var arr = ['a','b','c','d']; 
id = 1
arr.splice(id,1); 
console.log(arr);

//['a','c','d']; 